package com.netpace.iem.umair.model;

public class Unit {
	// State
	private int id;
	private String unitName;
	private String unitDesc;
	
	// Constructors
	public Unit() {
	
	}
	public Unit(int id, String unitName, String unitDesc) {
		this.id = id;
		this.unitName = unitName;
		this.unitDesc = unitDesc;
	}
	public Unit(int id, String unitName) {
		this(id, unitName, null);
	}
	
	// Getters
	public int getId() {
		return id;
	}
	public String getUnitName() {
		return unitName;
	}
	public String getUnitDesc() {
		return unitDesc;
	}	
	
	// Setters
	public void setId(int id) {
		this.id = id;
	}
	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}
	public void setUnitDesc(String unitDesc) {
		this.unitDesc = unitDesc;
	}	
}
